package com.masterviame.Authc.service;

import com.masterviame.Authc.pojo.Role;

import java.util.List;

/**
 * Created by mastervictory on 2017/12/13.
 */
public interface RoleService {
    public void createRole(Role role);
    public void stopRole(long roleid);
    public void correlationPermissions(long roleid,long... permissions);
    public void uncorrelationPermissions(long roleid,long... permissions);
    public List<Role> getRoles();
    public void deleteRoles(long roleid);
    public Role getRoleByid(long roleid);
    public Role updateRole(Role role);
}
